﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Domain.Entities.Auditing;
using FwProject.ShoppingMall.Com;

namespace FwProject.Com.Dto
{
    /// <summary>
    /// 收货人信息模型
    /// </summary>
    [AutoMap(typeof(ShopReceivingAddress))]
    public class ShopReceivingAddressDto: EntityDto<Guid>
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        [Display(Name = "用户编号")]
        public long UserId { get; set; }

        /// <summary>
        /// 购买人名称
        /// </summary>
        [Display(Name = "购买人名称")]
        public string ReceivingName { get; set; }

        /// <summary>
        /// 收货电话
        /// </summary>
        [Display(Name = "收货电话")]
        public string ReceivingTel { get; set; }

        /// <summary>
        /// 收货地址
        /// </summary>
        [Display(Name = "收货地址")]
        public string ReceivingAddress { get; set; }
        /// <summary>
        /// 默认收货地址
        /// </summary>
        [Display(Name = "默认收货地址")]
        public bool DefalutAddress { get; set; } = true;
        /// <summary>
        /// 所属区域
        /// </summary>
        [Display(Name = "所属区域")]
        public string AreaId { get; set; }
        [Display(Name = "所属区域行政地址")]
        public string AreaAddress { get; set; }

    }
}
